package com.zs.infrastructure.util.invoker.tushare;

import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.http.HttpMethod;

import java.io.Serializable;
import java.util.List;

/**
 * @author
 * @date 2022/8/28 0028 下午 8:44
 * @desc
 **/
public class TuShareInvokerRequest implements Serializable {

    /** 请求类型 */
    protected transient HttpMethod httpMethod = HttpMethod.POST;
    /** 请求路径 */
    protected transient String requestPath;
    /** 请求子段 */
    protected transient List<String> fields;

    public HttpMethod getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(HttpMethod httpMethod) {
        this.httpMethod = httpMethod;
    }

    public String getRequestPath() {
        return requestPath;
    }

    public void setRequestPath(String requestPath) {
        this.requestPath = requestPath;
    }

    public List<String> getFields() {
        return fields;
    }

    public void setFields(List<String> fields) {
        this.fields = fields;
    }
}
